<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>if-else_02</title>
		<script>
			let lap = prompt("请输入分数：");
			console.log(lap);
			if(lap >=90) {
				// console.log("优秀");
				document.write("优秀");
			} else if(lap >=80) {
				console.log("良好");
			}else if(lap >=60) {
				console.log("及格");
			}else {
				console.log("差");
			}
		</script>
	</head>
	<body>
	</body>
</html>